﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyBepAnTuThien
{
    public partial class frmInDsTo : Form
    {
        public frmInDsTo()
        {
            InitializeComponent();
        }
        connect cn = new connect();
        private void frmInDsTo_Load(object sender, EventArgs e)
        {
            Report.rpDSTo rp = new Report.rpDSTo();
            DataTable dt = cn.getDataTable("tblTo_DS");
            rp.SetDataSource(dt);
            rp.SetParameterValue("nguoilap",login.Hoten);
            rpDSTo_View.ReportSource = rp;            
        }
    }
}
